module.exports = {
  plot: [
    { date: new Date(2014, 2, 5), up: 2, down: null },
    { date: new Date(2014, 2, 6), up: null, down: 3 }
  ],
  input: require('./ohlc').facebook.slice(31, 90),
  expected: [
    { date: new Date(2012, 6, 24), up: 25.20357142857143, down: null },
    { date: new Date(2012, 6, 25), up: 26.023316326530615, down: null },
    { date: new Date(2012, 6, 26), up: 26.023316326530615, down: null },
    { date: new Date(2012, 6, 27), up: null, down: 28.068416024573093 },
    { date: new Date(2012, 6, 30), up: null, down: 27.413529165675012 },
    { date: new Date(2012, 6, 31), up: null, down: 26.046134225269657 },
    { date: new Date(2012, 7, 1), up: null, down: 25.09283892346468 },
    { date: new Date(2012, 7, 2), up: null, down: 24.179064714645776 },
    { date: new Date(2012, 7, 3), up: null, down: 24.179064714645776 },
    { date: new Date(2012, 7, 6), up: null, down: 24.179064714645776 },
    { date: new Date(2012, 7, 7), up: null, down: 24.179064714645776 },
    { date: new Date(2012, 7, 8), up: null, down: 24.179064714645776 },
    { date: new Date(2012, 7, 9), up: null, down: 24.179064714645776 },
    { date: new Date(2012, 7, 10), up: null, down: 24.179064714645776 },
    { date: new Date(2012, 7, 13), up: null, down: 24.179064714645776 },
    { date: new Date(2012, 7, 14), up: null, down: 24.179064714645776 },
    { date: new Date(2012, 7, 15), up: null, down: 24.179064714645776 },
    { date: new Date(2012, 7, 16), up: null, down: 23.763267495597667 },
    { date: new Date(2012, 7, 17), up: null, down: 22.896605531626403  },
    { date: new Date(2012, 7, 20), up: null, down: 22.896605531626403 },
    { date: new Date(2012, 7, 21), up: null, down: 22.896605531626403 },
    { date: new Date(2012, 7, 22), up: null, down: 22.896605531626403 },
    { date: new Date(2012, 7, 23), up: null, down: 22.896605531626403 },
    { date: new Date(2012, 7, 24), up: null, down: 22.71432804719418 },
    { date: new Date(2012, 7, 27), up: null, down: 22.310447472394593 },
    { date: new Date(2012, 7, 28), up: null, down: 22.310447472394593 },
    { date: new Date(2012, 7, 29), up: null, down: 21.97706950425861 },
    { date: new Date(2012, 7, 30), up: null, down: 21.845135968240132 },
    { date: new Date(2012, 7, 31), up: null, down: 20.845483399080123 },
    { date: new Date(2012, 8, 4), up: null, down: 20.47080601343154 },
    { date: new Date(2012, 8, 5), up: null, down: 20.47080601343154 },
    { date: new Date(2012, 8, 6), up: null, down: 20.47080601343154 },
    { date: new Date(2012, 8, 7), up: null, down: 20.47080601343154 },
    { date: new Date(2012, 8, 10), up: null, down: 20.47080601343154 },
    { date: new Date(2012, 8, 11), up: null, down: 20.47080601343154 },
    { date: new Date(2012, 8, 12), up: 18.159948146487977, down: null },
    { date: new Date(2012, 8, 13), up: 18.159948146487977, down: null },
    { date: new Date(2012, 8, 14), up: 19.144853248757492, down: null },
    { date: new Date(2012, 8, 17), up: 19.144853248757492, down: null },
    { date: new Date(2012, 8, 18), up: 19.144853248757492, down: null },
    { date: new Date(2012, 8, 19), up: 20.308816540641473, down: null },
    { date: new Date(2012, 8, 20), up: 20.308816540641473, down: null },
    { date: new Date(2012, 8, 21), up: 20.308816540641473, down: null },
    { date: new Date(2012, 8, 24), up: 20.308816540641473, down: null },
    { date: new Date(2012, 8, 25), up: null, down: 23.454776415627315 }
  ]
};